home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / ARCHIVERS / BEGINNER / TARZ / !tarZ / makefiles < prev    next >
Text File  |  1999-04-24  |  348b  |  25 lines

  1. BEGIN {
  2.       char x[ 128 ];
  3.       y=1; }
  4.  
  5. /' /
  6.    {
  7.    if (y==1)
  8.       {
  9.       x=$1;
  10.       y=0;
  11.       }
  12.    else
  13.       x=substr($1,2);
  14.  
  15.    if (x=="Directory")
  16.       {
  17.       printf("dir %s \n",$2);
  18.       printf("settype settypes obey\n");
  19.       printf("obey settypes\n");
  20.       printf("delete settypes\n");
  21.       }
  22.  
  23.    }
  24.  
  25. END   { printf("*quit\n");}